var url = require('url')
console.log(url.parse('http://www.baidu.com:8080/a/b/c?d=1&e=2',true));